Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for "mixed is a reserved word" error #5053

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

derrabus
Copy link
Member

Q A
Type bug
BC Break no
Fixed issues N/A

Summary

This PR suppresses a Psalm error that appeared after the Symfony 6 release. I've reported the issue as vimeo/psalm#7026.

@derrabus derrabus added this to the 3.2.1 milestone Nov 29, 2021
@derrabus
Copy link
Member Author

Alternatively, we could just remove Symfony Cache 6 from the dev dependencies. We don't test for Symfony compatibility, we only install Symfony Cache because we need a cache implementation. So using 5.4 should be fine, just as we pin to 4.4 on the 2.13 branch.

@morozov
Copy link
Member

morozov commented Nov 30, 2021

Alternatively, we could just remove Symfony Cache 6 from the dev dependencies.

Working around a bug in the static analysis tool by suppressing the error looks like the right approach to me.

UPD: I see that it's not really a bug but rather a known behavior. Anyways, the suppression is fine for now.

@derrabus derrabus merged commit 8e3f798 into doctrine:3.2.x Nov 30, 2021
@derrabus derrabus deleted the bugfix/psalm-is-drunk branch November 30, 2021 18:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants